package com.archerdu.apply.dao;

import java.util.List;

import com.archerdu.apply.model.Question;
import com.archerdu.base.dao.IBaseDao;

public interface QuestionDAO extends IBaseDao<Question, Integer> {

	/**
	 * 单选类型标识，对应radio标签
	 */
	public static final Integer TYPE_RADIO = 0;
	/**
	 * 多选类型标识，对应checkbox标签
	 */
	public static final Integer TYPE_CHECKBOX = 1;
	/**
	 * 填写类型标识，对应text标签
	 */
	public static final Integer TYPE_TEXT = 2;
	/**
	 * 对应试卷标识
	 */
	public static final String EXAMIN_ID = "examinId";
	
	public List<Question> findByExaminId(Integer id);
}
